package com.macro.mall.mapper;

import com.macro.mall.model.MmsMessage;
import com.macro.mall.model.MmsMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MmsMessageMapper {
    long countByExample(MmsMessageExample example);

    int deleteByExample(MmsMessageExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MmsMessage record);

    int insertSelective(MmsMessage record);

    List<MmsMessage> selectByExample(MmsMessageExample example);

    MmsMessage selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MmsMessage record, @Param("example") MmsMessageExample example);

    int updateByExample(@Param("record") MmsMessage record, @Param("example") MmsMessageExample example);

    int updateByPrimaryKeySelective(MmsMessage record);

    int updateByPrimaryKey(MmsMessage record);
}